package com.hjqjl.whdemo.feature.feature0.model;

import com.hjqjl.whdemo.base.BaseResponseModel;

public class SentencesModel extends BaseResponseModel {
    private ResultModel result;

    public ResultModel getResult() {
        return result;
    }

    public void setResult(ResultModel result) {
        this.result = result;
    }

    public static class ResultModel {
        private String name;
        private String from;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getFrom() {
            return from;
        }

        public void setFrom(String from) {
            this.from = from;
        }

        @Override
        public String toString() {
            final StringBuffer sb = new StringBuffer("ResultModel{");
            sb.append("name='").append(name).append('\'');
            sb.append(", from='").append(from).append('\'');
            sb.append('}');
            return sb.toString();
        }
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("SentencesModel{");
        sb.append("result=").append(result);
        sb.append('}');
        return sb.toString();
    }
}
